﻿<?php 
require_once '../../includefiles.php';
if(isset($_POST['submit']))
{
	if($_SESSION['user_type'] == '3') {
		redirect_to_link(SITE_URL."/myaccount/changepassword/");	
	 } else {
		redirect_to_link(SITE_URL."/myaccount/editprofile/");		 
		 }
	exit;
} 
?>
<form id="frmEdit" name="frmEdit" method="POST" action="<?php echo SITE_URL; ?>/modules/signin/firsttime.php">
  <div class="popupcontain">
   <div class="popuphe" style="padding:40px 60px;">To update your profile information Please Click on below button. </div>
   <div class="clear"></div>
   <?php if($_SESSION['user_type'] == '3') {?>
   <section style="padding:0px 180px;"><input type="submit" name="submit" class="blue_btn add_bt_padding lF" value="Change Password"></section>   
   <?php } else {?>
   <section style="padding:0px 180px;"><input type="submit" name="submit" class="blue_btn add_bt_padding lF" value="Edit Profile"></section>   
   <?php }?>
   <div class="clear"></div>
  </div> 
</form> 
